import  fetchRequest from '@/util/fetch'

export const tokenOauth = (data={}) => {
    return fetchRequest({
        url: '/blade-auth/api/token',
        method: 'post', 
        params: data,
		carryToken: 2
    })
}
export const smsCaptchaOauth = (params={}) => {
    return fetchRequest({
        url: '/blade-auth/api/smsCaptcha',
        method: 'get', 
        params: params,
		carryToken: 2
    })
}